package com.woniuxy.banka;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/7/11 0011-上午 10:48
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //不让springboot自动注入DataSource
@EnableEurekaClient
@EnableFeignClients("com.woniuxy.common.service")
public class BankaApp {
    public static void main(String[] args) {
        SpringApplication.run(BankaApp.class,args);
    }
}
